import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:26554
 * Date:2024-11-06
 * Time:22:51
 */
public class Text {
    public static void transform(int[] array){
        for(int i=0;i<3;i++){
            array[i]=array[i]*2;
        }
        System.out.println(Arrays.toString(array));
    }
    public static void main(String[] args) {
        int[] array = {1,2,3};
        transform(array);
    }
}
